package com.eax.ModelLayer;

import java.util.ArrayList;

public class CopyModel {
	private int serialNumber;
	private int dvdId;
	private String dateOfPurchase;
	private double purchasePrice;
	private String status;
	private Boolean available;

	public CopyModel(int serialNumber, int dvdId, String dateOfPurchase, double purchasePrice, String status, Boolean available) {
		this.serialNumber = serialNumber;
		this.dvdId = dvdId;
		this.dateOfPurchase = dateOfPurchase;
		this.purchasePrice = purchasePrice;
		this.status = status;
		this.available = available;

	}

	public int getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(int serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getDateOfPurchase() {
		return dateOfPurchase;
	}

	public void setDateOfPurchase(String dateOfPurchase) {
		this.dateOfPurchase = dateOfPurchase;
	}

	public double getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public int getDvdId() {
		return dvdId;
	}

	public void setDvdId(int dvdId) {
		this.dvdId = dvdId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Boolean getAvailable() {
		return available;
	}

	public void setAvailable(Boolean available) {
		this.available = available;
	}

	public void printInfo(){
		System.out.println("Serial Number: " + serialNumber);
		System.out.println("DVD ID: " + dvdId);
		System.out.println("Date of Purchase: " + dateOfPurchase);
		System.out.println("Purchase Price: " + purchasePrice);
		System.out.println("Status is: " + status);
		System.out.println("Is available? " + available);

	}
}